
import Home from '../pages/home/Home'
import Shop from '../pages/shop/shop'
import Life from '../pages/life/Life'
import Mine from '../pages/mine/Mine'
import Location from "../pages/home/location/Location"
import Login from "../pages/mine/login/Login"
import { Navigate } from "react-router-dom"


let RouteArray = [
    {
        path: "*",
        element: <Navigate to="/home" />
    },
    {
        path: "/home", element: <Home />
    },
    {
        path: "/shop", element: <Shop />
    },
    {
        path: "/life", element: <Life />
    },
    {
        path: "/mine", element: <Mine />
    },
    {
        path: "/location", element: <Location />
    },
    {
        path: "/login", element: <Login />
    }
]
 
export default RouteArray;